#ifndef _PART_GEOM_H_
#define _PART_GEOM_H_

#include "particle_2d.h"

namespace LuaPlus
{
    class LuaObject;
};


namespace part2d
{

class PartGeom
{
public:
                    PartGeom();
					~PartGeom();

	int				GetGeomC() { return m_GeomC; };
	void			Reset() { m_GeomC = 0;  };
	void			AddGeom(const math::Vec2& Pos, float R);
	void			Collide(Particle2D* particles, int ParticleC);
protected:
	static const int	MAX_GEOM = 10;
	int					m_GeomC;
	struct				Geom
	{
		math::Vec2	Pos;
		float		Radius;
		float		Radius2;
	};
	Geom				m_GeomA[MAX_GEOM];
};

};

#endif //_PART_GEOM_H_